package com.ruoyi.points.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 主页展示对象 bargain_group_list_son
 *
 * @author ruoyi
 * @date 2024-08-05
 */
public class BargainGroupListSon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 头像 */
    @Excel(name = "头像")
    private String img;

    /** 发起用户 */
    @Excel(name = "发起用户")
    private String name;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 帮砍人数 */
    @Excel(name = "帮砍人数")
    private String helpNum;

    /** 	结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "	结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 砍价状态 */
    @Excel(name = "砍价状态")
    private String status;

    /** 砍价金额 */
    @Excel(name = "砍价金额")
    private String bargainPrice;

    /** 子表id */
    @Excel(name = "子表id")
    private Long pid;

    /** $table.subTable.functionName信息 */
    private List<BargainGroupListGrandson> bargainGroupListGrandsonList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setHelpNum(String helpNum)
    {
        this.helpNum = helpNum;
    }

    public String getHelpNum()
    {
        return helpNum;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setBargainPrice(String bargainPrice)
    {
        this.bargainPrice = bargainPrice;
    }

    public String getBargainPrice()
    {
        return bargainPrice;
    }
    public void setPid(Long pid)
    {
        this.pid = pid;
    }

    public Long getPid()
    {
        return pid;
    }

    public List<BargainGroupListGrandson> getBargainGroupListGrandsonList()
    {
        return bargainGroupListGrandsonList;
    }

    public void setBargainGroupListGrandsonList(List<BargainGroupListGrandson> bargainGroupListGrandsonList)
    {
        this.bargainGroupListGrandsonList = bargainGroupListGrandsonList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .append("name", getName())
            .append("startTime", getStartTime())
            .append("helpNum", getHelpNum())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("bargainPrice", getBargainPrice())
            .append("pid", getPid())
            .append("bargainGroupListGrandsonList", getBargainGroupListGrandsonList())
            .toString();
    }
}
